<template>
<div>
    <div class="c">
      <div class="l"></div>
      <div class="r">
        <div>1</div>
        <div>2</div>
      </div>
    </div>
</div>

</template>

<script>
import { ref } from 'vue'
export default {
  props: {
    message: String
  },
  // setup(props, context) {
  setup() {
    let counter = ref([1,2,3])
    const info = ref({name: '张三'})
    const readonlyInfo = readonly(info)

    return {
      counter
    }
  }
}
</script>

<style>
.c {
  display: flex;
}
.l {
  width: 100px;
  height: 100px;
  background-color: #ccc;
}
.r div {
  width: 50px;
  height: 50px;
  margin: 5px;
  background-color: #575757;
}
</style>